package com.zsg.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("角色实体")
public class Role {

  @ApiModelProperty(value = "角色ID，主键")
  private Integer id;
  @ApiModelProperty(value = "角色名称")
  private String roleName;
  @ApiModelProperty(value = "角色描述")
  private String roleDesc;
  @ApiModelProperty(value = "用户列表")
  private List<User> users;

}
